package lab02.test13;

public class Test_13 {
    public static void main(String[] args) {
        School sc=new School();
        sc.computer=90;
        sc.english=78;
        sc.math=82;
        sc.PE=69;
        sc.ps=99;
        System.out.println("直接求平均分：");
        System.out.println(sc.average());

        System.out.println("\n"+"去掉最高分和最低分求平均分：");
        Gymnastics gm=new Gymnastics();
        gm.computer=90;
        gm.english=78;
        gm.math=82;
        gm.PE=69;
        gm.ps=99;
        System.out.println(gm.average());

    }
}
